Conversation
- 将字符串类型的权限模式替换为强类型的 PermissionMode - 从 SecurityTypes.ts 移除未使用的安全相关类型 - 优化权限模式切换逻辑,支持动态读取 execution.context.permissionMode - 在 Plan 模式退出时注入 plan 内容到消息中 - 更新相关文档和类型导出文件
feat(store): 添加 Zustand store 及相关 slices refactor(ui): 重构组件以使用 Zustand store 替代 React Context feat(config): 扩展 MCP 配置类型 perf(utils): 使用 LRU 缓存优化文件模式匹配性能 chore(deps): 添加 Zustand 及相关依赖 style: 清理无用代码和文件
refactor(agent): 移除 EventEmitter 改用 Zustand 状态管理 refactor(config): 迁移配置管理到 Store 并实现自动持久化 feat(store): 添加 Zustand store 实现及防御性初始化检查 feat(ui): 实现双击 Ctrl+C 退出提示及状态管理 docs: 更新状态管理架构文档及最佳实践 refactor: 移除旧版 ConfigManager 直接调用
- 删除 telemetry 相关配置和文档 - 移除 LoopDetectionService 并简化循环检测逻辑 - 合并 TodoWrite/TodoRead 为单一工具 - 优化权限模式持久化逻辑 - 清理无用代码和配置项 - 更新文档和测试用例
添加 onTokenUsage 和 onCompacting 回调函数到 LoopOptions 接口,用于实时监控 token 使用情况和上下文压缩状态 在 Agent 类中实现回调触发逻辑,并在压缩过程中更新状态 在 store 中添加 tokenUsage 和 isCompacting 状态及相关选择器 更新 ChatStatusBar 组件显示上下文剩余百分比和压缩状态 优化 useCtrlCHandler 实现,修复退出逻辑问题 添加 useGitBranch hook 和 git 工具函数,支持获取当前分支信息
- Add /git command with subcommands (status, log, diff, review, commit) - Implement AI-assisted code review and commit message generation - Add command alias support and fuzzy command suggestions - Optimize logger initialization with promise caching - Refactor Ctrl+C handler for proper exit cleanup
- Replace pnpm/action-setup with corepack commands - Enable corepack and prepare pnpm@8 - Remove trailing newline in env section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.